/*
USB=============================
USB_DM                PA11
USB_DM                PA12

NRF2401=========================
NRF_SCK   SPI1_SCK    PB3
NRF_MISO  SPI1_MISO   PB4
NRF_MOSI  SPI1_MOSI   PB5 
NRF_CE                PB6
NRF_CS                PB7
NRF_IRQ               PB8

FLASH===========================
FLASH_CS              PB0
FLASH_CLK SPI1_SCK    PB3
FLASH_DO  SPI1_MISO   PB4
FLASH_DIO SPI1_MOSI   PB5

KEYS============================
K0                    PE4
K1                    PE3
K_UP                  PA0

LED=============================
D2_LED                PA6
D3_LED                PA7

UART============================
UART_TX               PA9
UART_RX               PA10

JTAG/SWD========================  
TDO                   PB3
TRST                  PB4
TMS                   PA13
TCK                   PA14
TDI                   PA15

MiniSD==========================
SDIO_CMD              PD2
SDIO_D0               PC8
SDIO_D1               PC9
SDIO_D2               PC10
SDIO_D3               PC11
SDIO_SCK              PC12

TFT=============================
FCMS_D15              PD10
FCMS_D14              PD9
FCMS_D13              PD8
FCMS_D12              PE15
FCMS_D11              PE14
FCMS_D10              PE13
FCMS_D9               PE12
FCMS_D8               PE11
FCMS_D7               PE10
FCMS_D6               PE9
FCMS_D5               PE8
FCMS_D4               PE7
FCMS_D3               PD1
FCMS_D2               PD0
FCMS_D1               PD15
FCMS_D0               PD14
FCMS_A18              PD13
FCMS_NOE              PD4
FCMS_NWE              PD5
FCMS_NE1              PD7
T_CS                  PB12
T_SCK                 PB13
T_MISO                PB14
T_MOSI                PB15
PENIRQ                PC5
LCD_BL                PB1
*/

Header 1
1 	5V 	- 	+5V rail
2 	5V 	- 	+5V rail
3 	5V 	- 	+5V rail
4 	5V 	- 	+5V rail
5 	3V3 	- 	+3.3V rail
6 	3V3 	- 	+3.3V rail
7 	3V3 	- 	+3.3V rail
8 	3V3 	- 	+3.3V rail
9 	GND 	- 	Ground plane
10 	GND 	- 	Ground plane
11 	PE2 	- 	PE2
12 	PE3 	- 	PE3
13 	PE4 	- 	PE4
14 	PE5 	- 	PE5
15 	PE6 	- 	PE6
16 	PC13 	- 	PC13
17 	PC0 	- 	PC0
18 	PC1 	- 	PC1
19 	PC2 	- 	PC2
20 	PC3 	- 	PC3
21 	VR- 	- 	VR-
22 	VR+ 	- 	VR+
23 	PA0 	- 	PA0
24 	PA1 	- 	PA1
25 	PA2 	- 	PA2
26 	PA3 	- 	PA3
27 	PA4 	- 	PA4
28 	PA5 	- 	PA5
29 	PA6 	- 	PA6
30 	PA7 	- 	PA7
31 	PC4 	- 	PC4
32 	PC5 	- 	PC5
33 	PB0 	- 	PB0
34 	PB1 	- 	PB1
35 	PE7 	- 	PE7
36 	PE8 	- 	PE8
37 	PE9 	- 	PE9
38 	PE10 	- 	PE10
39 	PE11 	- 	PE11
40 	PE12 	- 	PE12
41 	PE13 	- 	PE13
42 	PE14 	- 	PE14
43 	PE15 	- 	PE15
44 	PB10 	- 	PB10
45 	PB11 	- 	PB11
46 	PB12 	- 	PB12
47 	PB13 	- 	PB13
48 	PB14 	- 	PB14


STM pins    Description                Display pins            Description          STM pins

                                       NC      NC
3V3      Back Light ON                 LED_A   NC
5V       Back Light Power              5V      SD_CS        SD-card CS
31 NRST  Display Controller Reset      REST    SD_DIN       SD-card Data In
         Flash IC CS                   F_CS    SD_CLK       SD-card Clock
11 CS_M  Display Controller CS         CS      SD_DO        SD-card Data Out
30 DB15  Data                          DB15    T_IRQ        Touch Screen Interrupt  6 INT
29 DB14  Data                          DB14    T_DO         Touch Screen Data Out   7 SO(MISO)
28 DB13  Data                          DB13    NC
27 DB12  Data                          DB12    T_DIN        Touch Screen Data In    8 SI(MOSI)
26 DB11  Data                          DB11    T_CS         Touch Screen CS         9 SCS
25 DB10  Data                          DB10    T_CLK        Touch Screen Clock      10 SCK
24 DB09  Data                          DB9     DB7          Data                    22 DB07
23 DB08  Data                          DB8     DB6          Data                    21 DB06
14 RD    Data Read                     RD      DB5          Data                    20 DB05
13 WR    Data Write                    WR      DB4          Data                    19 DB04
12 RS    Data/Command                  RS      DB3          Data                    18 DB03
         Back Light Brightness         NC      DB2          Data                    17 DB02
2 3V3    Display Controller Power      3.3V    DB1          Data                    16 DB01
1 GND                                  GND     DB0          Data                    15 DB00
